package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationVo;
import com.zzyl.vo.TimeCountVo;

import java.time.LocalDateTime;
import java.util.List;

public interface CostomerReservationService {

//查询剩余预约的次数
    List<TimeCountVo> cotomerReservationCountByTime(LocalDateTime of);
//取消预约接口
   int countReservation();
//新增预约
    void add(ReservationDto reservationDto);
    //分页查询
    PageResponse<ReservationVo> getByPage(Integer pageNum, Integer pageSize, Integer status);
//取消预约
    void cancel(Long id);
}
